//
//  HPlayListGroupCell.m
//  HMusicPlayer
//
//  Created by Hament on 14/9/17.
//  Copyright (c) 2014年 HJ. All rights reserved.
//

#import "HPlayListGroupCell.h"
#import "HCoreConfig.h"
#import "HskinManager.h"

@implementation HPlayListGroupCell

- (id)initWithFrame:(NSRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code here.
    }
    return self;
}

- (void)drawRect:(NSRect)dirtyRect
{
    [super drawRect:dirtyRect];
    
    // Drawing code here.
    
    CGContextRef context = (CGContextRef) [[NSGraphicsContext currentContext] graphicsPort];
    [[HCoreConfig shareConfig].currentSkinManager.leftListGroupCellBGColor setFill];
    CGContextFillRect(context, NSRectToCGRect(dirtyRect));
    
}

@end
